package po;
//评价信息 与User 1-1关系
public class Rating {
	int ID;
	User user;
	
	Integer number; //完成订单次数
	Integer goodMark; //好评数
	Integer badMark; //差评数
	Double avgMark; //平均评分
	
	public int getID() {
		return ID;
	}
	public void setID(int iD) {
		ID = iD;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Integer getGoodMark() {
		return goodMark;
	}
	public void setGoodMark(Integer goodMark) {
		this.goodMark = goodMark;
	}
	public Integer getBadMark() {
		return badMark;
	}
	public void setBadMark(Integer badMark) {
		this.badMark = badMark;
	}
	public Double getAvgMark() {
		return avgMark;
	}
	public void setAvgMark(Double avgMark) {
		this.avgMark = avgMark;
	}
	
	
}
